/*
 * Created on 2005-12-13
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.cattsoft.util.common.exception;

/**
 * @author hezhiyong
 *
 * 
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class OssApplicationException extends Exception {
	private String errorNo = null;
	
	public OssApplicationException(){}
	
	public OssApplicationException(final String newErrorNo, final String errorMsg) {
		super("[" + newErrorNo + "] " + errorMsg);
	    this.errorNo = newErrorNo;
	}

	public OssApplicationException(final String newErrorNo, final String errorMsg, Throwable cause) {
		super("[" + newErrorNo + "] " + errorMsg, cause);
	    this.errorNo = newErrorNo;
	}
}
